home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
prog
/
load1_1a.zip
/
LOAD.SRC
< prev
Wrap
Text File
|
1992-03-01
|
6KB
|
219 lines
***********************************************************
* LOAD v1.1a installation program. Last updated 03/01/92 *
***********************************************************
wThis installation for LOAD was written in its own enhanced batch language.
wYou will discover that it serves as an excellent example of what LOAD can
wdo for any software distributor. Freely customize and use LOAD's sample,
pinstallation, source file (LOAD.SRC).
aSDr=`StartDrv`
aSDi=`StartDir`
aSDr:=`SDr`:
g010`SDi`
aSDi\=`SDi`\
g020
:010\
aSDi\=\
:020
aSo=`SDr:``SDi`
aSo\=`SDr:``SDi\`
aQDr=`SDr:`
aQDi=`SDi`
aShoNfo=N
b
:MenuC:MenuChange
e
aBT=No
iBT=To start your computer, must you insert a disk (Yes/No; <ENTER>=`BT`)?
g103`BT`
gMenuC
:103N:103No
aBT=N
g104
:103Y:103Yes
aBT=Y
:104
aDT=No
iDT=Do you wish to install to a floppy disk (Yes/No; <ENTER>=`DT`)?
g100`DT`
gMenuC
:100N:100No
aDT=N
aDDr=C
g110
:100Y:100Yes
aDT=Y
g105`SDr`
aDDr=B
g110
:105B
aDDr=A
:110
iDDr=Enter the destination drive letter (<ENTER>=`DDr`):
cDDr-:
aDDr:=`DDr`:
g120`DT`
:120N:120No
aDDi=LOAD
;Enter the destination directory (<ENTER>=\`DDi`): \
iDDi=
aDDi=\`DDi`
cDDi-\
g130`DDi`
aDDi\=`DDi`\
g140
:130
aDDi=\
aDDi\=\
g140
:120Y:120Yes
aDDi=\
aDDi\=\
:140
aDe=`DDr:``DDi`
aDe\=`DDr:``DDi\`
g170`BT`
g160`DDi`
wThe following destination directory will be created:
p `De\`
oMD `De`
aOpt=No
iOpt=Do you wish to specify a different destination (Yes/No; <ENTER>=`Opt`)?
g150`Opt`
:150Y:150Yes
gMenuC
:150N:150No
:160\
:170Y
aOpt=I
:Menu
e
w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓▓▓▓▓▓▓▓╒══════════════════════════════════════════════╕▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓▓▓▓▓▓▓▓│ LOAD v1.1a I N S T A L L A T I O N M E N U │░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓▓▓▓▓▓▓▓╘══════════════════════════════════════════════╛░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
w▓╒═══ >>> Options <<< ═══╕▓▓▓╒═════════════════════════════════════════════╕▓▓▓
w▓│ │░░▓│ This installation was written using LOAD's │░░▓
w▓│ C..Change destination │░░▓│ enhanced batch language. Notice that user- │░░▓
w▓│ I..Install LOAD │░░▓│ friendliness can be accomplished without │░░▓
w▓│ │░░▓│ taking much disk space. For registration │░░▓
w▓│ Q..Quit │░░▓│ information, quit, and enter "LOAD /?". │░░▓
w▓╘═══════════════════════╛░░▓╘═════════════════════════════════════════════╛░░▓
w▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓
w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
wDestination path:
w `De\`
g200`Opt`
aOpt=Q
:200Q
aDef=Quit
g210
:200I
aDef=Install
g210
:200C
aDef=Change
:210
iOpt=Enter the letter of your choice (<ENTER>=`Def`):
gMenu`Opt`
gMenu
:MenuI:MenuInstall
e
wMake sure the `DDr:` disk contains 360k of available space. Insert
pthe disk containing LOAD's distribution files in the `SDr:` drive.
aCmd1=COPY LOAD.* `De`
aCmd2=COPY LOAD.DOC PRN
aCmd3=COPY LOAD.INV PRN
g310`BT`
wYou will need to enter the following commands at the `SDr:`> prompt.
wPress the <PRINT-SCREEN> key to copy them to your printer. At the `SDr:`>
wprompt, type and enter:
g305`DDi`
w `DDr:`
w MD `DDi`
w `SDr:`
:305\
w `Cmd1`
w `Cmd2`
w `Cmd3`
w `DDr:`
w CD `DDi`
g320
:310N
o`Cmd1`
p
:315
e
aOpt=Yes
iOpt=Do you wish to print the manual (Yes/No; <ENTER>=`Opt`)?
g330`Opt`
g315
:330Y:330Yes
pTurn your printer on, and load it with 30 pages of paper.
o`Cmd2`
o`Cmd3`
g340
:330N:330No
wThe main documentation can be obtained by printing a file called LOAD.DOC.
wThe registration invoice can be obtained by printing a file called LOAD.INV.
:340
aQDr=`DDr:`
aQDi=`DDi`
:320
pReady to return to the installation menu!
aShoNfo=Y
aOpt=Q
gMenu
:MenuQ:MenuQuit
e
wYou won't find anything which is smaller, faster, or more flexible than
wLOAD. It is the perfect solution for a software distributor's
winstallation needs. See for yourself! Before you cease your evaluation,
wplease examine some of the interesting features of LOAD:
w - A small EXE, less than 7.9k.
w - A fast, powerful, easy to learn, compact, interpreted language.
w - Independant execution of commands, unlike normal DOS batch language
w which returns to the calling batch file each time a command is executed.
w - All commands supported by DOS.
w - Screen handling including optional, automatic, page breaks.
w - Direct and user assigned, string variables.
w - Nested macros.
w - Full, conditional and unconditional branching.
w - Two preset variables, STARTDRV and STARTDIR, which indicate what
w drive and directory LOAD was executed from.
w - A trace command for debugging purposes.
w - A preset source file name, LOAD.SRC, which LOAD automatically looks
w for when executed. This file name can be over-ridden from the command
w line.
w - An optional share flag for LANs.
g500`ShoNfo`
p
e
wThis version of LOAD is distributed with the following files:
w LOAD.DOC - The main documentation. Please read!
w LOAD.INV - A printable invoice.
w LOAD.EXE - The interpreter.
w LOAD.SRC - An install program for LOAD. Actually written using LOAD's
w enhanced batch language. This is a good example of what
w LOAD can do for you.
wEnjoy, and thanks for supporting the shareware concept.
g510`BT`
o`QDr`
oCD `QDi`
:510Y
:500N